package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
//这个扫描就是扫描的servlet相关的注解并把对象注册到spring容器中！
//@ServletComponentScan("com.example.utils")
public class Day12springboot2Application {

    public static void main(String[] args) {
        System.out.println("启动类");
        SpringApplication.run(Day12springboot2Application.class, args);
    }

}
